<template>
  <div class="big-cover">
    <div class="title">
      {{ news.title }}
    </div>
    <img :src="news.image" alt="" srcset="" class="image" />
    <div class="tips">
      <span>{{ news.type }}</span>
      <span>{{ news.time }}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    news: {
      type: Object,
      default() {
        return {};
      }
    }
  }
};
</script>

<style lang="scss" scoped>
.big-cover {
  border-bottom: 1px solid #dddddd;
  padding-bottom: 10px;
  &:last-child {
    border: 0;
  }
  .title {
    font-size: 18px;
    padding: 10px 0;
  }
  .image {
    width: 100%;
  }
  .tips {
    color: #999999;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
  }
}
</style>
